package com.huabao;
import java.awt.*;

public class MyFrame extends Frame {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6476761615152444791L;
	public static void main(String args[]) {
		MyFrame fr = new MyFrame("Hello Out There!");
		fr.setSize(300,200);
		fr.setBackground(Color.red);
		fr.setVisible(true);
		
	}
	public MyFrame(String str) {
		super(str);
	}

}
